package sctu.edu.java.year2016.team02.zhoujie.day20160523.chapter5_1;

/**
 * Created by ACER on 2016/5/23.
 */
/*编写java程序，创建一位数组arr[],并将其遍历输出*/
public class Array {
    public static void main(String[] args){
        int arr[]={1,2,3,4,5,6},i;
        System.out.println("遍历结果为：");

for(i=0;i<6;i++)
{
    System.out.println(arr[i]);
}

    }
}
